#!/bin/sh

make clean
make ARCH=X86 DEBUG=DEBUG COMPILE_TYPE=SHARE

mv libJsztCNN.so lib/ 

gcc -o cnntest.out test/main_test.c -Iinclude -L./lib/ -lJsztCNN
# arm-linux-gnueabihf-gcc test/main_test.c -Iinclude -L./lib/ -lJsztCNN

export LD_LIBRARY_PATH=/home/han/zynq/zynq_pro2023/jszt_CNN/lib:$LD_LIBRARY_PATH
source ~/.bashrc

# ./cnntest.out
./cnntest.out 2 100